OPC Studio User's Guide and Reference
LMConsole Utility (License Manager Console)
Tools and Online Services > License Manager > LMConsole Utility (License Manager Console)
In This Topic
This functionality is only available on (or the text applies to) Windows (it is not available on Linux or macOS).

The LMConsole utility is a command-line equivalent of the License Manager, for scripting/automation (e.g. embedded installations), and folks that dislike GUIs in general. The command-line switches are described here, and a brief help is also available from the utility itself.

The utility is installed in the Bin subdirectory under the product folder.

This console-based License Manager can also be downloaded directly from this link. It is a single EXE that you can just save to your computer and run, with no other dependencies.

Command Line Syntax

Following table summarizes the command-line switches available:

Switch Description

-u string

--uninstall string

Uninstall license

-s string

--show string

Show license details

-q

--query

Query available licenses

-l

--list

List components

-i string

--install string

Install licenses.

The parameter is the license key file name, including extension (.BIN or .TXT, typically).

-c string

--component string

Component name

--

--ignore_rest

Ignores the rest of the labeled arguments following this flag.
--version Displays version information and exits.

-h

--help

Displays usage information and exits.

The switches are combined to achieve the desired effect.

Typical Commands

You will typically need following LMConsole commands:

Task Command
Query available QuickOPC licenses LMConsole --component QuickOPC --query
Install QuickOPC license (from a file) LMConsole --component QuickOPC --install fileName
Show QuickOPC license details LMConsole --component QuickOPC --show Multipurpose
Uninstall QuickOPC license LMConsole --component QuickOPC --uninstall Multipurpose

The license for the base product uses ID "Multipurpose". Licenses for specific Product Options have different IDs, documented with each particular product option.

Exit Codes

The LMConsole utility returns following exit codes:

Exit Code Description
0 The command has completed successfully.
1 Command parsing error.
2 Command processing error.
See Also

Licensing